<!DOCTYPE html>
<head lang="zh">
<!--#include virtual="/public/inc/head.html"-->
<!--#include virtual="/public/inc/seajs.html" -->
<title>客户跟进管理</title>
<link rel="stylesheet" type="text/css" href="/ydxs_static/public/css/css.css"/>
<link rel="stylesheet" type="text/css" href="/public/css/index.css"/>
<style>
    .left-panel-title {
        height: 40px;
        line-height: 40px;
        padding-left: 20px;
        background-color: #f7f7f7;
    }

    .left-panel {
        width: 376px
    }

    .right-panel {
        width: 100%;
    }

    /* 自适应布局 */
    .auto-wrap {
        width: 100%;
    }

    .auto-wrap-con {
    }

    .options {
        display: none;
    }

    .options li {
        float: left;
        cursor: pointer;
        margin: 0 5px;
    }

    .options li a {
        color: #3c93d7;
        text-decoration: none;
    }

    .options li a:hover {
        text-decoration: underline;
    }
</style>
</head>
<body data-permission="50020304-00">
<!--#include virtual="/public/inc/top.html" -->
<div class="container">
    <div class="wrap clearfix">
        <!--#include virtual="/static_public/public_menu/left_side/ydxs/side.html" -->
        <div class="content">
            <div class="mt15 clearfix" ng-cloak ng-controller="CustomFollowController">
                <div class="auto-wrap">
                    <div class="auto-wrap-con">
                        <div class="fl right-panel">
                            <div class="mt15 clearfix">
                                <div class="fl f14 clearfix">
                                    <span class="fl lh30">选择项目：</span>

                                    <div style="width:500px" class="fl limit-ie f12" ui-project-tree data="projectList"
                                         ng-model="curProjectId"></div>
                                </div>
                            </div>
                            <div class="search mt15 clearfix">
                                <div style="width:113px" class="fl">
                                    <div class="select" ui-combobox data="search.fieldList"
                                         ng-model="search.searchField" text-field="text" value-field="value">
                                    </div>
                                </div>
                                <input type="text" name="" class="input-text mr5 fl" value="" ng-enter="searchData()"
                                       ng-model="search.searchText" style="width: 366px;">
                                <div class="fl clearfix ml20">
                                    <span class="fl lh30">置业顾问：</span>

                                    <div style="width:366px" class="fl limit-ie f12">
                                        <div class="select" ui-filtercombobox data="search.consultantList"
                                             ng-model="search.consultantField">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mt15 clearfix">
                                <span class="fl lh30">跟进日期：</span>

                                <div class="fl clearfix ng-scope">
                                    <input type="text" class="input-text input-data fl ng-pristine ng-valid ng-touched"
                                           readonly="" id="start_date"
                                           ui-date=""
                                           format="yyyy-MM-dd"
                                           max-date="#F{$dp.$D(\'end_date'\)}"
                                           ng-model="search.startDate">
                                    <span class="fl lh30">&nbsp;&nbsp;-&nbsp;&nbsp;</span>
                                    <input type="text" class="input-text input-data fl ng-pristine ng-valid ng-touched"
                                           readonly="" id="end_date"
                                           ui-date=""
                                           format="yyyy-MM-dd"
                                           min-date="#F{$dp.$D(\'start_date'\)}"
                                           ng-model="search.endDate">
                                    <a href="javascript: void(0)" class="btn fl mlr5" ng-click="filterData()">查询</a>
                                    <a href="javascript: void(0)" class="btn btn-gray fl"
                                       ng-click="clearFilter()">撤销筛选</a>
                                </div>
                            </div>
                            <div class="table-header mt20 clearfix">
                                <span class="fl lh30 f14">客户跟进列表</span>

                                <div class="fr btn-group">
                                    <a href="javascript: void(0)" class="btn btn-yellow permission p-50020304-99" ng-click="exportData()">导出</a>
                                </div>
                            </div>
                            <div id="grid" class="table-wrap text-center mt10">
                                <table width="100%">
                                    <thead>
                                    <tr>
                                        <th class="text-center" width="80">序号</th>
                                        <th class="text-center" width="120">姓名</th>
                                        <th class="text-center" width="120">电话</th>
                                        <th class="text-center" width="120">业务员</th>
                                        <th class="text-center" width="150">跟进时间</th>
                                        <th class="text-center" width="150">跟进方式</th>
                                        <th class="text-center">跟进内容</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr ng-repeat="item in customerlist">
                                        <td height="34">
                                            <div class="text-center">
                                                <label>{{(search.pageIndex-1)*search.pageSize+$index+1}}</label>
                                            </div>
                                        </td>
                                        <td>{{item.cst_name}}</td>
                                        <td>{{item.comms_all}}</td>
                                        <td class="">{{item.user_name}}</td>
                                        <td>{{item.gj_date}}</td>
                                        <td>{{item.gj_fs}}</td>
                                        <td>{{item.gj_content}}</td>
                                    </tr>
                                    </tbody>
                                </table>
                                <div class="no-data  ng-hide" ng-show="customerlist.length<1">
                                    <span>暂无数据</span>
                                </div>
                            </div>
                            <div ui-pagination page-index="search.pageIndex" page-size="search.pageSize" total="total"
                                 class="mt10" changed="getDataPage($pageIndex)"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--#include virtual="/public/inc/footer.html" -->
<script type="text/javascript">
    seajs.use(['/ydxs_static/public/js/service/service_manage/customerFollow_manage']);
</script>
</body>
</html>